package com.cdck.safe.dete.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.cdck.safe.dete.model.bo.SeatBO;
import com.cdck.safe.dete.model.entity.Seat;
import com.cdck.safe.dete.model.query.BaseKeywordsQuery;
import com.cdck.safe.dete.model.query.SeatQuery;
import com.cdck.safe.dete.model.vo.SeatDataVo;
import com.cdck.safe.dete.model.vo.SeatStatusVO;

import java.util.List;


/**
 * (Seat)表服务接口
 *
 * @author wp
 * @since 2024-02-25 16:47:16
 */
public interface SeatService extends IService<Seat> {


    /**
     * 分页列表
     *
     * @return
     */
    IPage<SeatDataVo> queryByPage(SeatQuery queryParams);


    /**
     * 获取表单数据
     *
     * @param id
     * @return
     */
    Seat getSeatFormData(Long id);

    /**
     * 新增数据
     *
     * @param seat Seat对象
     * @return
     */
    boolean saveSeat (Seat seat);

   /**
     * 修改数据
     *
     * @param id   id
     * @paramseat Seat对象
     * @return
     */
    boolean updateSeat(Long id, Seat seat);

    /**
     * 删除数据
     *
     * @param idsStr id,多个以英文逗号(,)分割
     * @return
     */
    boolean deleteSeats(String idsStr);

    List<Seat> getSeatListByLabId(Long id);

    List<SeatStatusVO> getSeatStatus(SeatBO seatBO);
}
